package cn.lls.dao;

import cn.lls.entity.company.AnnouncementEntity;
import cn.lls.req.emp.ConditionSearchAnnoReq;
import cn.lls.vo.emp.AnnoInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 划水艺术家
 * @since 2022-11-15
 */
@Mapper
public interface AnnouncementDao extends BaseMapper<AnnouncementEntity> {

    IPage<AnnoInfo> getAnnoByConditionAndPage(IPage page, @Param("req")ConditionSearchAnnoReq conditionSearchAnnoReq);

    AnnoInfo getAnnoById(Long id);
}
